package com.appbee.gdata.picasaadmin.client;

import javax.inject.Inject;
import javax.inject.Provider;

import com.appbee.gdata.picasaadmin.shared.PicasaSettingsRequestFactory;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.EventBus;

public class PicasaSettingsRequestFactoryProvider implements
		Provider<PicasaSettingsRequestFactory>
{
	private final PicasaSettingsRequestFactory rf = GWT
			.create(PicasaSettingsRequestFactory.class);
	@Inject
	public PicasaSettingsRequestFactoryProvider(EventBus eventBus)
	{
		rf.initialize(eventBus);
	}
	
	@Override
	public PicasaSettingsRequestFactory get()
	{
		return rf;
	}

}
